
import request from '@/utils/request'
///mes/base/workshop/listN 车间
export function selectWorkShop() {
  return request({
    url: '/mes/base/workshop/listN?workshopType=0',
    headers: {
      isToken: false
    },
    method: 'get',
    timeout: 20000
  })
}

//  /data/show/getInteriorDataSpectaculars?workShopId=16&type=1 
export function getInteriorDataSpectaculars(workShopId,type) {
  return request({
    url: '/data/show/getInteriorDataSpectaculars?workShopId='+workShopId+"&type="+type,
    headers: {
      isToken: false
    },
    method: 'get',
    timeout: 20000,
  })
}